package org.to_zero.springboot.springbootquick.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.to_zero.springboot.springbootquick.dao.DeptDao;
import org.to_zero.springboot.springbootquick.entities.Dept;
import org.to_zero.springboot.springbootquick.entities.vo.ResponseEntity;
import org.to_zero.springboot.springbootquick.service.DeptService;

@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptDao deptDao;


    @Override
    public ResponseEntity selectDeptSelective(Dept dept) {
        return ResponseEntity.success(deptDao.selectDeptSelective(dept));
    }
}
